package com.ionehe.group.common.file.ex.service;


import com.ionehe.group.common.file.ex.repository.dataobject.UserFile;
import com.ionehe.group.common.io.Response;

import java.util.List;

/**
 * @author 2022/1/14 <a href="mailto:a@ionehe.com">xiu</a>
 */
public interface UserFileService {

    Response<UserFile> createFile(UserFile var1);

    Response<Boolean> updateFile(UserFile var1);

    Response<UserFile> findById(Long var1);

    Response<Boolean> moveFile(Long var1, Long var2);

    Response<UserFile> deleteFile(Long var1);

    Response<UserFile> findByPath(String path);

    Response<List<UserFile>> findByFolderId(Long folderId);

    Response<String> getPathById(Long id);
}
